runtime.p.mspancache (field)
20 uses
runtime (current package)
mheap.go#L1086: if pp == nil || pp.mspancache.len == 0 {
mheap.go#L1090: s := pp.mspancache.buf[pp.mspancache.len-1]
mheap.go#L1091: pp.mspancache.len--
mheap.go#L1114: if pp.mspancache.len == 0 {
mheap.go#L1115: const refillCount = len(pp.mspancache.buf) / 2
mheap.go#L1117: pp.mspancache.buf[i] = (*mspan)(h.spanalloc.alloc())
mheap.go#L1119: pp.mspancache.len = refillCount
mheap.go#L1122: s := pp.mspancache.buf[pp.mspancache.len-1]
mheap.go#L1123: pp.mspancache.len--
mheap.go#L1142: if pp != nil && pp.mspancache.len < len(pp.mspancache.buf) {
mheap.go#L1143: pp.mspancache.buf[pp.mspancache.len] = s
mheap.go#L1144: pp.mspancache.len++
proc.go#L5641: for i := 0; i < pp.mspancache.len; i++ {
proc.go#L5643: mheap_.spanalloc.free(unsafe.Pointer(pp.mspancache.buf[i]))
proc.go#L5645: pp.mspancache.len = 0
runtime2.go#L697: mspancache struct {
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |